import request from '@/utils/request'

// 查询小鸡孵化信息列表
export function listChickhatchinginfo(query) {
    return request({
        url: '/chickhatchinginfo/chickhatchinginfo/list',
        method: 'get',
        params: query
    })
}

// 查询小鸡孵化信息详细
export function getChickhatchinginfo(id) {
    return request({
        url: '/chickhatchinginfo/chickhatchinginfo/' + id,
        method: 'get'
    })
}

// 新增小鸡孵化信息
export function addChickhatchinginfo(data) {
    return request({
        url: '/chickhatchinginfo/chickhatchinginfo',
        method: 'post',
        data: data
    })
}

// 修改小鸡孵化信息
export function updateChickhatchinginfo(data) {
    return request({
        url: '/chickhatchinginfo/chickhatchinginfo',
        method: 'put',
        data: data
    })
}

// 删除小鸡孵化信息
export function delChickhatchinginfo(id) {
    return request({
        url: '/chickhatchinginfo/chickhatchinginfo/' + id,
        method: 'delete'
    })
}
